Exclusive bonding of wireless devices

ABSTRACT

A first device and a second device may establish wireless pairing, and based on that wireless pairing, establish wireless bonding. During the wireless bonding, the two devices may have multiple connections during which information is exchanged. One of the devices may also attempt to pair with a third device. The wireless bond between the first device and the second device may be broken, and a wireless bond may then be formed with the third device.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 15/088,013, entitled “Exclusive Bonding of Wireless Devices” and filed on Mar. 31, 2016, which issued as U.S. Pat. No. 9,542,678 on Jan. 10, 2017, and which is incorporated herein by reference.

BACKGROUND

Retail transactions such as purchases may be performed with payment devices such as a credit card or a NFC-enabled smart phone running a payment application. A traditional payment terminal may reside at a fixed location and may have a physical connection to a power source such as an AC outlet. The payment terminal may also be physically connected to a wired communication interface such as a phone line or Ethernet connection. The payment terminal receives payment information such as a credit card number from the payment device and communicates with a remote server such as a payment server to determine whether the transaction is approved.

Such a traditional payment terminal may not be suitable for many businesses. Taxis, food trucks, delivery services, professional service providers, and other similar businesses engage in transactions from a vehicle or at disparate locations. Applications running on a mobile device such as smart phone or tablet may provide a user interface to facilitate payment transactions and a communication interface for communicating with the payment server. However, a separate payment reader may be necessary in order to interface with the payment device. The payment reader and mobile device may communicate wirelessly. In some instances, multiple payment readers and mobile devices may be located within the same area, causing difficulty in determining which payment devices should communicate with which payment readers.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other features of the present disclosure, its nature and various advantages will be more apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings in which:

FIG. 1 shows an illustrative block diagram of a payment system in accordance with some embodiments of the present disclosure;

FIG. 2 depicts an illustrative block diagram of a payment device and payment terminal in accordance with some embodiments of the present disclosure;

FIG. 3 depicts an illustrative block diagram of a payment reader in accordance with some embodiments of the present disclosure;

FIG. 4 depicts an illustrative block diagram of a merchant device in accordance with some embodiments of the present disclosure;

FIG. 5 depicts a non-limiting flow diagram illustrating a block diagram of establishing, maintaining, and modifying exclusive bonding of a wireless communication device;

FIG. 6 depicts a non-limiting flow diagram illustrating steps for exchanging and modifying parameters of a wireless connection in accordance with some embodiments of the present disclosure; and

FIG. 7 depicts a non-limiting flow diagram illustrating of exchanging messages having combined packet types in accordance with some embodiments of the present disclosure.

DETAILED DESCRIPTION

A payment system may include a merchant device and a payment reader. The payment reader may physically interact with payment devices such as EMV payment cards and NFC payment devices. The merchant device may provide a rich user interface, communicate with the payment reader, and also communicate with a payment server. In this manner, the merchant device and payment reader may collectively process transactions between a merchant and a customer.

The payment reader and the merchant device may communicate over a wireless connection such as Bluetooth low energy (BLE). The merchant device may be a mobile device running a point-of-sale application. During typical operation, numerous mobile devices will be within range of the payment reader. In order to manage its connections, the payment reader may establish a procedure for maintaining an exclusive bond with only one mobile device at a time.

The payment reader may initially be in an unpaired state, in which it is not bonded to any mobile device. In response to a user input such as a button push, the payment reader may send a pairing request message such as and advertising message. If a mobile device running a point-of-sale application receives the advertising message, and a user of the mobile device indicates a desire to pair with the payment reader, the payment reader and the mobile device may pair and enter into a bonded state.

While in the bonded state the payment reader and the mobile device may periodically connect and engage in payment transactions. A user wishing to pair the payment reader to a different mobile device may provide a user input such as a button push, which may cause the payment reader to again provide the advertising message with the request to pair. If a user of a second mobile device wishes to pair with the payment reader, the two devices may pair and form a bond. The payment reader may break the bond with the first mobile device, thus maintaining exclusive bonding with only one mobile device at a time.

FIG. 1 depicts an illustrative block diagram of a payment system 1 in accordance with some embodiments of the present disclosure. In one embodiment, payment system 1 includes a payment device 10, payment terminal 20, network 30, and payment server 40. These components of payment system 1 facilitate electronic payment transactions between a merchant and a customer.

The electronic interactions between the merchant and the customer take place between the customer's payment device 10 and the merchant's payment terminal 20. The customer has a payment device 10 such as a credit card having magnetic stripe, a credit card having an EMV chip, or a NFC-enabled electronic device such as a smart phone running a payment application. The merchant has a payment terminal 20 such as a payment terminal or other electronic device that is capable of processing payment information (e.g., encrypted payment card data and user authentication data) and transaction information (e.g., purchase amount and point-of-purchase information), such as a smart phone or tablet running a payment application.

In some embodiments (e.g., for low-value transactions or for payment transactions that are less than a payment limit indicated by a NFC or EMV payment device 10) the initial processing and approval of the payment transaction may be processed at payment terminal 20. In other embodiments, payment terminal 20 may communicate with payment server 40 over network 30. Although payment server 40 may be operated by a single entity, in one embodiment payment server 40 may include any suitable number of servers operated by any suitable entities, such as a payment service system and one or more banks of the merchant and customer. The payment terminal 20 and the payment server 40 communicate payment and transaction information to determine whether the transaction is authorized. For example, payment terminal 20 may provide encrypted payment data, user authentication data, purchase amount information, and point-of-purchase information to payment server 40 over network 30. Payment server 40 may determine whether the transaction is authorized based on this received information as well as information relating to customer or merchant accounts, and responds to payment terminal 20 over network 30 to indicate whether or not the payment transaction is authorized. Payment server 40 may also transmit additional information such as transaction identifiers to payment terminal 20.

Based on the information that is received at payment terminal 20 from payment server 40, the merchant may indicate to the customer whether the transaction has been approved. In some embodiments such as a chip card payment device, approval may be indicated at the payment terminal, for example, at a screen of a payment terminal. In other embodiments such as a smart phone or watch operating as a NFC payment device, information about the approved transaction and additional information (e.g., receipts, special offers, coupons, or loyalty program information) may be provided to the NFC payment device for display at a screen of the smart phone or watch or storage in memory.

FIG. 2 depicts an illustrative block diagram of payment device 10 and payment terminal 20 in accordance with some embodiments of the present disclosure. Although it will be understood that payment device 10 and payment terminal 20 of payment system 1 may be implemented in any suitable manner, in one embodiment the payment terminal 20 may comprise a payment reader 22 and a merchant device 29. However, it will be understood that as used herein, the term payment terminal may refer to any suitable component of the payment terminal, such as payment reader 22. In an embodiment, the payment reader 22 of payment terminal 20 may be a wireless communication device that facilitates transactions between the payment device 10 and a merchant device 29 running a point-of-sale application.

In one embodiment, payment device 10 may be a device that is capable of communicating with payment terminal 20 (e.g., via payment reader 22), such as a NFC device 12 or an EMV chip card 14. Chip card 14 may include a secure integrated circuit that is capable of communicating with a payment terminal such as payment terminal 20, generating encrypted payment information, and providing the encrypted payment information as well as other payment or transaction information (e.g., transaction limits for payments that are processed locally) in accordance with one or more electronic payment standards such as those promulgated by EMVCo. Chip card 14 may include contact pins for communicating with payment reader 22 (e.g., in accordance with ISO 7816) and in some embodiments, may be inductively coupled to payment reader 22 via a near field 15. A chip card 14 that is inductively coupled to payment reader 22 may communicate with payment reader 22 using load modulation of a wireless carrier signal that is provided by payment reader 22 in accordance with a wireless communication standard such as ISO 14443.

NFC device 12 may be an electronic device such as a smart phone, tablet, or smart watch that is capable of engaging in secure transactions with payment terminal 20 (e.g., via communications with payment reader 22). NFC device 12 may have hardware (e.g., a secure element including hardware and executable code) and/or software (e.g., executable code operating on a processor in accordance with a host card emulation routine) for performing secure transaction functions. During a payment transaction NFC device 12 may be inductively coupled to payment reader 22 via near field 15 and may communicate with payment terminal 20 by active or passive load modulation of a wireless carrier signal provided by payment reader 22 in accordance with one or more wireless communication standards such as ISO 14443 and ISO 13092.

Although payment terminal 20 may be implemented in any suitable manner, in one embodiment payment terminal 20 may include a payment reader 22 and a merchant device 29. The merchant device 29 runs a point-of-sale application that provides a user interface for the merchant and facilitates communication with the payment reader 22 and the payment server 40. Payment reader 22 may facilitate communications between payment device 10 and merchant device 29. As described herein, a payment device 10 such as NFC device 12 or chip card 14 may communicate with payment reader 22 via inductive coupling. This is depicted in FIG. 2 as near field 15, which comprises a wireless carrier signal having a suitable frequency (e.g., 13.56 MHz) emitted from payment reader 22.

In one embodiment, payment device 10 may be a contactless payment device such as NFC device 12 or chip card 14, and payment reader 22 and the contactless payment device 10 may communicate by modulating the wireless carrier signal within near field 15. In order to communicate information to payment device 10, payment reader 22 changes the amplitude and/or phase of the wireless carrier signal based on data to be transmitted from payment reader 22, resulting in a wireless data signal that is transmitted to the payment device. This signal is transmitted by an antenna of payment reader 22 that is tuned to transmit at 13.56 MHz, and if the payment device 10 also has a suitably tuned antenna within the range of the near field 15 (e.g., 0 to 10 cm), the payment device receives the wireless carrier signal or wireless data signal that is transmitted by payment reader 22. In the case of a wireless data signal, processing circuitry of the payment device 10 is able to demodulate the received signal and process the data that is received from payment reader 22.

When a contactless payment device such as payment device 10 is within the range of the near field 15, it is inductively coupled to the payment reader 22. Thus, the payment device 10 is also capable of modulating the wireless carrier signal via active or passive load modulation. By changing the tuning characteristics of the antenna of payment device 10 (e.g. by selectively switching a parallel load into the antenna circuit based on modulated data to be transmitted) the wireless carrier signal is modified at both the payment device 10 and payment reader 22, resulting in a modulated wireless carrier signal. In this manner, the payment device is capable of sending modulated data to payment reader 22.

In some embodiments, payment reader 22 also includes an EMV slot 21 that is capable of receiving chip card 14. Chip card 14 may have contacts that engage with corresponding contacts of payment reader 22 when chip card 14 is inserted into EMV slot 21. Payment reader 22 provides power to an EMV chip of chip card 14 through these contacts and payment reader 22 and chip card 14 communicate through a communication path established by the contacts.

Payment reader 22 may also include hardware for interfacing with a magnetic strip card (not depicted in FIG. 2). In some embodiments, the hardware may include a slot that guides a customer to swipe or dip the magnetized strip of the magnetic strip card such that a magnetic strip reader can receive payment information from the magnetic strip card. The received payment information is then processed by the payment reader 22.

Merchant device 29 may be any suitable device such as tablet payment device 24, mobile payment device 26, or payment terminal 28. In the case of a computing device such as tablet payment device 24 or mobile payment device 26, a point-of-sale application may provide for the entry of purchase and payment information, interaction with a customer, and communications with a payment server 40. For example, a payment application may provide a menu of services that a merchant is able to select and a series of menus or screens for automating a transaction. A payment application may also facilitate the entry of customer authentication information such as signatures, PIN numbers, or biometric information. Similar functionality may also be provided on a dedicated payment terminal 28.

Merchant device 29 may be in communication with payment reader 22 via a communication path 23/25/27. Although communication path 23/25/27 may be implemented via a wired (e.g., Ethernet, USB, FireWire, Lightning) or wireless (e.g., WiFi, Bluetooth, NFC, or ZigBee) connection, in one embodiment payment reader 22 may communicate with the merchant device 29 via a Bluetooth low energy (BLE) interface, such that the payment reader 22 and the merchant device 29 are connected devices. In some embodiments processing of the payment transaction may occur locally on payment reader 22 and merchant device 29, for example, when a transaction amount is small or there is no connectivity to the payment server 40. In other embodiments, merchant device 29 or payment reader 22 may communicate with payment server 40 via a public or dedicated communication network 30. Although communication network 30 may be any suitable communication network, in one embodiment communication network 30 may be the internet and payment and transaction information may be communicated between payment terminal 20 and payment server 40 in an encrypted format such by a transport layer security (TLS) or secure sockets layer (SSL) protocol.

FIG. 3 depicts a block diagram of an exemplary payment reader 22 in accordance with some embodiments of the present disclosure. In one embodiment, payment reader 22 may be a wireless communication device that communicates wirelessly with an interactive electronic device such as a merchant device 29, for example, using BLE. Although particular components are depicted in a particular arrangement in FIG. 3, it will be understood that payment reader 22 may include additional components, one or more of the components depicted in FIG. 3 may not be included in payment reader 22, and the components of payment reader 22 may be rearranged in any suitable manner. In one embodiment, payment reader 22 includes a reader chip 100, a plurality of payment interfaces (e.g., a contactless interface 102 and a contact interface 104), a power supply 106, a wireless communication interface 108, a wired interface 110, a user interface 112, and a transaction chip 140. Reader chip 100 of payment reader 22 includes a processing unit 120 and memory 122. Transaction chip 140 of payment reader 22 includes a general processing unit 142, cryptographic processing unit 146, general memory 144, and cryptographic memory 148. Although in one embodiment the processing units and memories will be described as packaged in a reader chip 100 and transaction chip 140 respectively, and configured in a particular manner, it will be understood that processing unit 120, general processing unit 142, cryptographic processing unit 146, memory 122, general memory 144, and cryptographic memory 148 may be configured in any suitable manner to perform the functionality of the payment reader 22 as is described herein. It will also be understood that the functionality of reader chip 100 and transaction chip 140 may be embodied in a single chip or a plurality of chips, each including any suitable combination of processing units and memory to collectively perform the functionalities of reader chip 100 and transaction chip 140 as described herein.

In some embodiments, reader chip 100 may be any suitable chip, such as a K21 chip supplied by Freescale Semiconductor, Inc. Processing unit 120 of reader chip 100 of payment reader 22 may be any suitable processor and may include any suitable hardware, software, memory, and circuitry as is necessary to perform and control the functions of payment reader 22. Processing unit 120 may include any suitable number of processors, and may perform the operations of reader chip 100 based on instructions in any suitable number of memories and memory types. In some embodiments, processing unit 120 may have multiple independent processing units, for example a multi-core processor or other suitable component. Processing unit 120 may execute instructions stored in memory 122 of reader chip 100 to control the operations and processing of payment reader 22. As used herein, a processor or processing unit may include one or more processors having processing capability necessary to perform the processing functions described herein, including but not limited to hardware logic (e.g., hardware designed by software that that describes the configuration of hardware, such as hardware description language (HDL) software), computer readable instructions running on a processor, or any suitable combination thereof. A processor may run software to perform the operations described herein, including software accessed in machine readable form on a tangible non-transitory computer readable storage medium.

In an exemplary embodiment, the processing unit 120 of reader chip 100 may operate as a hub for controlling operations of the various components of payment reader 22, based on instructions stored in memory 122. As used herein, memory may refer to any suitable tangible or non-transitory storage medium. Examples of tangible (or non-transitory) storage medium include disks, thumb drives, and memory, etc., but does not include propagated signals. Tangible computer readable storage medium include volatile and non-volatile, removable and non-removable media, such as computer readable instructions, data structures, program modules or other data. Examples of such media include RAM, ROM, EPROM, EEPROM, SRAM, flash memory, disks or optical storage, magnetic storage, or any other non-transitory medium that stores information that is accessed by a processor or computing device.

Reader chip 100 may also include additional circuitry such as interface circuitry, analog front end circuitry, security circuitry, and monitoring component circuitry. In one embodiment, interface circuitry may include circuitry for interfacing with a wireless communication interface 108, circuitry for interfacing with a wired interface 110 (e.g., USB, Ethernet, FireWire, and Lightning), circuitry for interfacing with other communication interfaces or buses (e.g., I²C, SPI, UART, and GPIO), and circuitry for interfacing with a power supply 106 (e.g., power management circuitry, power conversion circuitry, rectifiers, and battery charging circuitry).

Transaction chip 140 may include one or more processors having processing capability necessary to perform the processing functions described herein, including but not limited to hardware logic, computer readable instructions running on a processor, or any suitable combination thereof. In an exemplary embodiment, transaction chip 140 may include two RISC processors and may perform functionality relating to processing of payment transactions, interfacing with payment devices, cryptography, and other payment-specific functionality. In some embodiments, transaction chip 140 may include a general processing unit 142 for executing instructions associated with general payment functionality and a cryptographic processing unit 146 for handling cryptographic processing operations. Each of general processing unit 142 and cryptographic processing unit 146 may have dedicated memory associated therewith (i.e., general memory 144 and cryptographic memory 148). In this manner, specific cryptographic processing and critical security information (e.g., cryptographic keys, passwords, user information, etc.), may be isolated from other circuitry of transaction chip 140 and securely stored and processed by cryptographic processing unit 146 and stored at cryptographic memory 148.

One or both of general processing unit 142 and cryptographic processing unit 146 of transaction chip 140 may communicate with reader chip 100 (e.g., processing unit 120), for example, using any suitable internal bus and communication technique. In this manner, reader chip 100 and transaction chip 140 can collectively process transactions and communicate information regarding processed transactions (e.g., with merchant device 29).

Transaction chip 140 may also include circuitry for interfacing with a contact interface 104 (e.g., power and communication circuitry for directly interfacing with an EMV chip of a chip card 14 that is inserted in slot 21). In some embodiments, transaction chip 140 may also include analog front end circuitry for interfacing with the analog components of contactless interface 102 (e.g., electromagnetic compatibility (EMC) circuitry, matching circuits, modulation circuitry, and measurement circuitry).

In some embodiments, general processing unit 142 may include any suitable processor for performing the payment processing functionality of payment reader 22 described herein. In some embodiments, general memory 144 may be any suitable memory (e.g., as described herein), and may include a plurality of sets of instructions for performing general transaction processing operations of payment reader 22, such as transaction processing instructions, data authentication instructions, and signal conditioning instructions, any of which may be implemented entirely or partially in firmware stored at memory 144.

Transaction processing instructions may include instructions for controlling any suitable general transaction processing operations of the payment reader 22, such as controlling the interaction between the payment reader 22 and a payment device 10 (e.g., for interfacing with a payment device via the contactless interface 102 and contact interface 104), selecting payment processing procedures (e.g., based on a payment processing entity associated with a payment method), interfacing with the cryptographic processor 146, and any other suitable aspects of transaction processing. Data authentication instructions may include instructions for providing configuration information for a payment terminal 20. The configuration information may include any suitable information, such as payment limits and types of transactions for local transactions (i.e., transactions that occur without contacting a payment server 40) and supported applications. As an example, in some embodiments, data authentication instructions 168 may include configuration instructions such as TMS-CAPK instructions. In some embodiments, the TMS-CAPK may be tailored for a particular jurisdiction (e.g., country-specific). Signal conditioning instructions may include instructions for interacting with a contactless interface and signal conditioning circuitry for the contactless interface, including instructions for conditioning signals received from a payment device 10 via the contactless interface 102 (e.g., from a NFC payment device 10). Signal conditioning instructions may include instructions for conditioning signals using any suitable hardware, logic, or algorithm required to process NFC signals received via contactless interface 102.

Cryptographic processing unit 146 may be any suitable a processor as described herein, and, in some embodiments, may perform cryptographic functions for the processing of payment transactions. For example, in some embodiments a cryptographic processing unit 146 may encrypt and decrypt data based on one or more encryption keys, in a manner that isolates the encryption functionality from other components of payment reader 22 and protects the encryption keys from being exposed to other components of payment reader 22.

In some embodiments, cryptographic memory 148 may be any suitable memory or combination thereof as described herein, and may include a plurality of sets of instructions for performing cryptographic operations, such as payment processing instructions and cryptographic instructions. Payment processing instructions may include instructions for performing aspects of payment processing, such as providing for encryption techniques to be used in association with particular payment procedures, accessing account and processing information, any other suitable payment processing functionality, or any suitable combination thereof. Cryptographic instructions may include instructions for performing cryptographic operations. Cryptographic processing unit 146 may execute the cryptographic instructions to perform a variety of cryptographic functions, such as to encrypt, decrypt, sign, or verify a signature upon payment and transaction information as part of a payment transaction.

Wireless communication interface 108 may include any suitable wireless communications hardware (e.g., antennas, matching circuitry, etc.) and one or more processors having processing capability necessary to engage in wireless communication (e.g., with a merchant device 29 via a protocol such as BLE) and control associated circuitry, including but not limited to hardware logic, computer readable instructions running on a processor, or any suitable combination thereof. Although wireless communication interface 108 may be implemented in any suitable manner, in an exemplary embodiment, wireless communication interface 108 may be implemented as a Texas Instruments CC2640 device, which may include a processing unit 130 and memory 132. Although in one embodiment, the processing unit 130 and memory 132 will be described as packaged in a wireless communication interface 108 and configured in a particular manner, it will be understood that processing unit 130 and memory 132 may be configured in any suitable manner to perform the functionality of the wireless communication interface 108 as is described herein.

Processing unit 130 may include any suitable processor or processing hardware for performing the functionality of wireless interface 108 as described herein. In some embodiment, processing unit 130 may execute the instructions of memory 132 to interact with and control hardware and other components of the wireless communication interface 108 in order to transmit and receive wireless communications (e.g., via BLE) and to communicate with other circuitry (e.g., processing unit 120 of reader chip 100) of payment reader 22 (e.g., using an internal bus or any other suitable communication method). Memory 132 is memory, as described herein, and may include wireless instructions for performing the processing operations of wireless communication interface 108. In some embodiments, memory 132 may be implemented as static random-access memory (SRAM), but any suitable memory format may be used to carry out the functionality of payment reader 22 as described herein. Wireless instructions 132 may include instructions for interacting with processing unit 120 of reader chip 100, in order to perform functions such as sending and receiving messages, configuring aspects of a BLE connection, and controlling bonding and pairing of wireless communication interface 108 to other devices (e.g., to merchant device 29 using BLE).

Contactless interface 102 may provide for NFC communication with a contactless device such as NFC device 12 or chip card 14. Based on a signal provided by reader chip 100, an antenna of contactless interface 102 may output either a carrier signal or a modulated signal. A carrier signal may be a signal having a fixed frequency such as 13.56 MHZ. A modulated signal may be a modulated version of the carrier signal according to a modulation procedure such as ISO 14443 and ISO 13092. When the payment reader 22 is inductively coupled to a contactless device, the contactless device may also modulate the carrier signal, which may be sensed by the contactless interface 102 and provided to the reader chip 100 for processing. Based on these modulations of the carrier signal, payment reader 22 and a contactless device are able to communicate information such as payment information.

Contact interface 104 may be a suitable interface for providing power to a payment chip such as an EMV chip of a chip card 14 and communicating with the EMV chip. Contact interface 104 may include a plurality of contact pins (not depicted in FIG. 3) for physically interfacing with the chip card 14 according to EMV specifications. In some embodiments, contact interface 104 may include a power supply (VCC) pin, a ground (GND) pin, a reset (RST) pin for resetting an EMV card, a clock (CLK) pin for providing a clock signal, a programming voltage (VPP) pin for providing a programming voltage to an EMV card, an input output (I/O) pin for providing for EMV communications, and two auxiliary pins. In this manner, the payment reader and the chip card are able to exchange information such as payment information.

Power supply 106 may include one or more power supplies such as a physical connection to AC power or a battery. Power supply 106 may include power conversion circuitry for converting AC power and generating a plurality of DC voltages for use by components of payment reader 22. When power supply 106 includes a battery, the battery may be charged via a physical power connection, via inductive charging, or via any other suitable method. Although not depicted as physically connected to the other components of the payment reader 22 in FIG. 3, power supply 106 may supply a variety of voltages to the components of the payment reader 22 in accordance with the requirements of those components.

Wired interface 110 may include any suitable interface for wired communication with other devices or a communication network, such as USB, Lightning, FireWire, Ethernet, any other suitable wired communication interface, or any combination thereof. In some embodiments, wired interface 110 may allow payment reader to communicate with one or both of merchant device 29 and payment server 40.

User interface 112 may include any suitable user interface (e.g., buttons, touchscreen, keyboard, voice recognition, biometric readers, etc.) that allow a user to directly interact with a payment reader 22. In some embodiments, many of the user interface interactions with a payment reader 22 may be accomplished by a point-of-sale application running on a merchant device 29, and may be communicated via either wireless interface 108 or wired interface 110. User interface 112 may be a simple interface, such as a single button or limited set of buttons. Different types or sequences of button presses (e.g., holding a button down for more than a threshold time, particular sequences of button presses, etc.) may implement different functionality at the payment reader 22.

Memory 122 of reader chip 100 may include a plurality of sets of instructions for controlling operations of payment reader 22, such as operating instructions 124, transaction processing instructions 126, and wireless instructions 128.

Operating instructions 124 may include instructions for controlling any suitable general operations of the payment reader 22, such as internal communications, power management, processing of messages, system monitoring, sleep modes, user interface response and control, operation of the wireless interface 108, operation of the transaction chip 140, and the management of the other sets of instructions. In one embodiment, the operating instructions 124 may provide the operating system and applications necessary to perform most of the processing operations that are performed by the processing unit 120 of the reader chip 100 of payment reader 22.

Operating instructions 124 may also include instructions for interacting with a merchant device 29. In one embodiment, the merchant device 29 may be running a point-of-sale application. The operating instructions 124 may include instructions for a complementary application to run on processing unit 120 of reader chip 100, in order to exchange information with the point-of-sale application. For example, the point-of-sale application may provide a user interface that facilitates a user such as a merchant to engage in purchase transactions with a customer. Menus may provide for the selection of items, calculation of taxes, addition of tips, and other related functionality. When it is time to receive payment, the point-of-sale application may send a message to the payment reader 22 (e.g., via wireless interface 108). The operating instructions 124 facilitate processing of the payment, for example, by acquiring payment information via the contactless interface 102 or contact interface 104, invoking the transaction chip 140 to process that payment information, and by generating responsive messages that are transmitted to the point-of-sale application of the merchant device via wireless interface 108.

Operating instructions 124 may also include instructions for interacting with a payment server 40. In one embodiment, a payment server 40 may be associated with the payment reader 22 and the point-of-sale application of the merchant device 29. For example, the payment server 40 may have information about payment readers 22 and merchant devices 29 that are registered with the payment server 40 (e.g., based on unique identifiers). This information may be used to process transactions with servers of the merchant and customer financial institutions, for providing analysis and reports to a merchant, and aggregating transaction data. The payment reader 22 may process payment information (e.g., based on operation of reader chip 100 and transaction chip 140) and communicate that processed payment information to the point-of-sale application, which in turn communicates with the payment server 40. In this manner, messages from the payment reader 22 may be forwarded to the payment server 40, such that the payment reader 22 and payment server 40 may collectively process the payment transaction.

Transaction processing instructions 126 may include instructions for processing payment transactions at payment reader 22. In one embodiment, the transaction processing instructions may be compliant with a payment standard such as those promulgated by EMV. Depending on the payment method that is being used (e.g., Europay, Mastercard, Visa, American Express, etc.), a particular processing procedure associated with the payment method may be selected and the transaction may be processed according to that procedure. When executed by processing unit 120, these instructions may determine whether to process a transaction locally, how payment information is accessed from a payment device, how that payment information is processed, which cryptographic functions to perform, the types of communications to exchange with a payment server, and any other suitable information related to the processing of payment transactions. In some embodiments, transaction processing instructions 126 may perform high level processing, and provide instructions for processing unit 120 to communicate with transaction chip 140 to perform most transaction processing operations.

Wireless instructions 128 may include instructions for configuring a wireless interface, managing wireless pairing/bonding, optimizing throughput of the wireless connection, engaging in wireless communications, and controlling any other suitable functionality relating to the operation of a wireless interface of the payment reader (e.g., wireless interface 108). Although wireless instructions may operate in conjunction with any suitable wireless interface 108, in an exemplary embodiment the wireless interface 108 may be a BLE interface.

In some embodiments, wireless instructions 128 may include instructions for configuring wireless interface 108. In some embodiments, processing unit 120 of reader chip 100 may execute wireless instructions 128 to exchange messages in order to communicate with wireless interface 108 to configure the wireless interface 108 for operation. Any suitable parameters may be configured based on the wireless instructions, such as settings related to pairing/bonding (e.g., General Access Profile (GAP) settings, advertising modes, discovery modes, available roles, and white lists) and connections (e.g., General Attribute Protocol (GATT) settings, connection intervals, and maximum transmission units).

In some embodiments, wireless instructions 128 may include instructions for managing wireless pairing/bonding between wireless interface 108 and a wireless interface of the merchant device 29. In some embodiments, wireless instructions may enforce a structured procedure for establishing, maintaining, and modifying connections between payment reader 22 and merchant device 29. Although any suitable structured procedure may be implemented by wireless instructions 128, in some embodiments an exclusive connection may be established between payment reader 22 and a single merchant device 29. Procedures may also be established for payment reader 22 to enter states where it may advertise for possible exclusive bonds with other merchant devices 29, for example, based on a user input.

In some embodiments, wireless instructions 128 may include optimizing throughput of a wireless connection between the wireless interface 108 of the payment reader 22 and a wireless interface of the merchant device 29. In some embodiments, payment reader 22 may modify certain parameters of a particular BLE connection with a merchant device 29 in order to optimize the connection (e.g., for a desired throughput, etc.). The payment reader 22 may set the parameters itself, and in some embodiments, may communicate with merchant device 29 to receive a request to modify the parameters. For example, in some embodiments, the processing unit 120 of reader chip 100 of payment reader 22 may have low-level access to commands that are exchanged with wireless interface 108, such that payment reader 22 may modify numerous parameters that cannot be modified by a point-of-sale application running on a merchant device 29, which may only be able to modify a limited subset of parameters or provide high-level commands (e.g., through a required API for the BLE interface of the merchant device 29). In an embodiment, if a point-of-sale application operating on a merchant device 29 desires to monitor or modify lower-level parameters of the BLE connection (e.g., maximum transmission units and connection intervals) it may communicate with the payment reader 22 to acquire the desired information or modify the lower level parameter.

In some embodiments, wireless instructions 128 may include instructions for engaging in wireless communications between a processing unit of payment reader 22 (e.g., processing unit 120) and processing of the merchant device 29, via the wireless interface 108 of the payment reader 22 and a wireless interface of the merchant device 29. During an active BLE connection, data packets may be exchanged via one or more BLE characteristics, with data packets able to be sent in modes such as an acknowledged and unacknowledged mode. In an unacknowledged mode, additional packets may be transmitted immediately after the unacknowledged message was sent (i.e., an unreliable message). In an acknowledged mode, additional packets may not be sent until the acknowledgement packet has been acknowledged by the other BLE device (a reliable connection), which occurs during a later connection event between the two devices. In some embodiments, processing unit 120 of reader chip 100 may execute wireless instructions 128 in order to selectively control the selection of acknowledgement packets and unacknowledged packets, for example, based on the type of information being transmitted.

In some embodiments, the payment reader 22 and the merchant device 29 may combine acknowledgement packets and unacknowledged packets in a manner to provide a high-throughput reliable connection. For example, a plurality of data portions may be transmitted using a plurality of unacknowledged packets. A packet identifier may be included within each of the unacknowledged packets. During a single connection event, the device transmitting the data may send multiple unacknowledged packets (each including a data portion and a packet identifier) and the final packet of the connection event may be an acknowledgement packet. The device receiving the packets during the connection event (multiple unacknowledged packets and a final acknowledged packet) may respond to the acknowledgement packet during the next connection event with packet identifiers for all of the received unacknowledged packets. If the packet identifiers associated with all of the unacknowledged packets are received, the original sending device may send the next data portions during the next connection event. If not all of the packet identifiers are received, the missing unacknowledged packet may be resent (e.g., alone, or with additional packets) during the next connection event.

FIG. 4 depicts an exemplary merchant device 29 in accordance with some embodiments of the present disclosure. Although a merchant device 29 may be implemented in any suitable manner, in one embodiment the merchant device 29 may be an interactive electronic device that provides a user interface and communicates with one or more other devices. Examples of interactive electronic devices include tablets, smart phones, smart watches, desktop computers, laptop computers, custom electronic devices, or any other suitable electronic device having the necessary user interface and communication capabilities to perform the functions described herein.

Although particular components are depicted in a particular arrangement in FIG. 4, it will be understood that merchant device 29 may include additional components, one or more of the components depicted in FIG. 4 may not be included in merchant device 29, and the components of merchant device 29 may be rearranged in any suitable manner. In one embodiment, merchant device 29 includes a processing unit 202, a memory 204, an interface bus 206, a power supply 208, a user interface 210, a first wireless interface 212, a second wireless interface 214, and a wired interface 216.

In one embodiment, the merchant device 29 includes a processing unit 202 and memory 204 that are configured to control and perform the necessary operations of the merchant device 29. In one embodiment, the processing unit 202 of may be a general purpose processor running instructions for a mobile operating system, programs, and applications based on instructions that may be stored in memory 204. The memory 204 may include any suitable memory types or combination thereof as described herein, such as flash memory and RAM memory, for storing instructions and other data and providing a working memory for the execution of the operating system, programs, and applications of the merchant device 29. In one embodiment, the memory 204 may include a plurality of sets of instructions, such as operating instructions 220, point-of-sale application instructions 222, and first wireless interface instructions 224.

The processing unit 202 may execute the instructions of memory 204 to interact with and control one or more other components of the merchant device 29. Although the processing unit 202 may communicate with other components of the merchant device 29 in any suitable manner, in one embodiment the processing unit may utilize an interface bus 206. Interface bus 206 may include one or more communication buses such as I²C, SPI, USB, UART, and GPIO. In one embodiment, the processing unit 202 may execute instructions of the memory and based on those instructions may communicate with the other components of the merchant device 29 via the communication buses of interface bus 206.

Merchant device 29 may also include a power supply 208. Power supply 208 may include power conversion circuitry for converting AC power and/or generating a plurality of DC voltages for use by components of merchant device 29. When power supply 208 includes a battery, the battery may be charged via a physical power connection, via inductive charging, or via any other suitable method. Although not depicted as physically connected to the other components of merchant device 29 in FIG. 4, power supply 208 may supply a variety of voltages to the components of merchant device 29 in accordance with the requirements of those components.

Merchant device 29 may also include a user interface 210. User interface 210 may provide various options for the user of the merchant device 29 to interact with applications and programs running on the merchant device 29. An exemplary user interface 210 may include hardware and software for any suitable user interface, such as a touchscreen interface, voice command interface, keyboard, mouse gesture recognition, any other suitable user interface, or any combination thereof. In one embodiment, the user interface 210 may be a touchscreen interface that displays an interactive user interface for programs and applications such as a point-of-sale application running on the merchant device 29.

Merchant device 29 may also include a plurality of wireless communication interfaces. The wireless communication interfaces may include any suitable hardware and software for providing a wireless communication interface such as Bluetooth classic, BLE, WiFi, cellular, short message service (SMS), NFC, any other suitable wireless communication interface, or any combination thereof. In an embodiment, a first wireless communication interface 212 may be a wireless communication interface that primarily communicates with payment reader 22 (e.g., a BLE interface) while a second wireless communication interface 214 may be a wireless communication interface (e.g., WiFi) that primarily communicates with payment server 40 (e.g., via the internet).

Merchant device may also include a wired interface 216, which may include any suitable interface for wired communication with other devices or a communication network, such as USB, Lightning, FireWire, Ethernet, any other suitable wired communication interface, or any combination thereof.

Memory 204 may include a plurality of sets of instructions for performing the processing operations of merchant device 29, such as operating instructions 220, point-of-sale application instructions 222, first wireless interface instructions 224, and any other suitable instructions for operating the merchant device 29 (e.g., instructions related to the operation of one or more other applications or components of the merchant device 29).

Operating instructions 220 may include instructions for controlling any suitable general operations of the merchant device 29, such as internal communications, power management, control of I/O devices, control of communication devices, control of other hardware of the merchant device 29, any other suitable instructions, or any combination thereof. In one embodiment, the operating instructions may provide instructions for the operating system of the merchant device 29 as well as most drivers, programs, and applications operating on the merchant device 29.

Operating instructions 220 may include instructions for controlling the operations of the user interface 210. The user interface may be controlled in accordance with the instructions of programs and applications of the operating instructions 220, point-of-sale application instructions 222, and the firmware update instructions 224. In one embodiment, the point-of-sale application instructions 222 may include instructions to display information about BLE bonding and connections with payment readers 22. The display information for connections may include a graphical user interface that guides a user through the process of identifying available payment readers 22, pairing/bonding with payment readers 22, removing pairing/bonding with payment readers 22, and BLE-specific menus that in some aspects (e.g., an administrator role) allow specific configurations of a BLE connection or BLE operations of a connected payment reader 22.

Operating instructions 220 may also include instructions for interacting with a payment reader 22 and for interacting with a payment server 40. The payment reader 22 and/or the application running on the merchant device 29 may be known (e.g., via a registration process) to the payment server 40, such that the merchant device 29 may process payments with the payment server 40 according to the point-of-sale application instructions.

Point-of-sale application instructions 222 include instructions for running a point-of-sale application on the merchant device 29. When executed by the processing unit 202, the point-of-sale application instructions 222 may provide for a rich display of an interactive interface that allows a merchant to process payment transactions with customers. These instructions may include customized interfaces that allow the merchant or customer to select products for purchase, calculate sales tax, process tips, provide receipts, generate discounts or special offers, process customer loyalty programs, search for items in inventory or for delivery, and perform any other suitable retail operations. In some embodiments, the point-of-sale application instructions may include instructions for providing a rich display of information relating to payment readers 22 that may be paired/bonded with the merchant device through a BLE interface, and for configuring a BLE connection.

First wireless interface instructions 224 may include instructions for interacting with first wireless interface 212, managing and establishing connections with a payment reader 22, engaging in wireless communications with a payment reader 22, and controlling any other suitable functionality relating to the operation of first wireless interface 212. Although first wireless instructions 224 may operate in conjunction with any suitable first wireless interface 212, in an exemplary embodiment the first wireless interface 212 may be a BLE interface. In an embodiment, first wireless interface instructions 224 may be a portion of instructions provided by the same entity that provides point-of-sale application instructions 222, and may communicate with other programs running on merchant device 29 (e.g., a BLE program running as part of an operating system of merchant device 29) via a communication standard or protocol (e.g., an application program interface for the BLE program).

In some embodiments, first wireless interface instructions 224 may include instructions for interacting with wireless interface 212. In some embodiments, processing unit 202 of merchant device 29 may execute first wireless interface instructions to send and receive messages to be transmitted, configure the first wireless interface 212 for operation, or perform any other suitable functions. In some embodiments, it may be possible to figure parameters relating to pairing/bonding (e.g., General Access Profile (GAP) settings, advertising modes, discovery modes, available roles, and white lists) and connections (e.g., General Attribute Protocol (GATT) settings, connection intervals, and maximum transmission units). In some embodiments, first wireless interface instructions may only be able to control and access information about only a limited subset of configuration parameters. First wireless interface instructions 224 may include instructions for communicating with payment reader 22 to determine information about such unavailable configuration parameters and to instruct the payment reader 22 to modify such configuration parameters. In this manner, by interacting with a payment reader 22, first wireless interface instructions 224 may be able to control aspects of the BLE connection (e.g., configuration parameters) that may otherwise be unavailable to a conventional application communicating with other operating software of merchant device 29.

In some embodiments, first wireless instructions 224 may include instructions for managing wireless pairing/bonding between first wireless interface 212 of merchant device 29 and wireless interface 108 of payment reader 22. In some embodiments, wireless instructions may enforce a structured procedure for establishing, maintaining, and modifying connections between payment reader 22 and merchant device 29. Although any suitable structured procedure may be implemented by first wireless instructions 224, in some embodiments an exclusive connection may be established between a single merchant device 29 and a single payment reader 22. Based on inputs from user interface 210, execution of instructions of point-of-sale application 222, and messages transmitted by payment reader 22, first wireless instructions 224 may allow for the selection between multiple payment readers 22 in proximity to the merchant device 29, establishing pairing/bonding with a selected payment reader 22, and breaking pairing/bonding once established.

In some embodiments, first wireless instructions 224 may include optimizing throughput of a wireless connection between the first wireless interface 212 of merchant device 29 and wireless interface 108 of the payment reader 22. In some embodiments, once a merchant device 29 and payment reader 22 are paired, configuration parameters for the BLE connection may be modified in order to optimize aspects of the connections, such as throughput. As described herein, it may be possible to modify some or all configuration parameters by communication with a BLE program of the merchant device 29 (e.g., by communicating via an API of an operating system of the merchant device 29). However, in some embodiments, it may only be possible to monitor and modify a limited subset of configuration parameters at merchant device 29, while the processing unit 120 of reader chip 100 of payment reader 22 may have low-level access to commands that are exchanged with wireless interface 108, such that payment reader 22 may modify numerous parameters that cannot be modified by a point-of-sale application running on a merchant device 29. Processing unit 202 may execute first wireless instructions 224 to communicate with payment reader 22 to determine current values for certain configuration parameters (e.g., maximum transmission units and connection intervals) and request that payment reader 22 modify those configuration parameters. In this manner, merchant device 29 may be able to monitor, manage, and modify configuration parameters through communication with payment reader 22.

In some embodiments, first wireless instructions 224 may include instructions for engaging in wireless communications between processing unit 204 of the merchant device 29 and processing unit 120 of payment reader 22, via the first wireless interface 224 of merchant device 29 and wireless interface 108 of the payment reader 22. During an active BLE connection, data packets may be exchanged via one or more BLE characteristics, with data packets able to be sent in modes such as an acknowledged and unacknowledged mode. In an unacknowledged mode, additional packets may be transmitted immediately after the unacknowledged packet was sent (i.e., an unreliable message). In an acknowledged mode, additional packets may not be sent until the acknowledgement packet has been acknowledged by the other BLE device (i.e., a reliable connection), which occurs during a later connection event between the two devices. In some embodiments, processing unit 204 of merchant device 29 may execute first wireless instructions 224 in order to selectively control the selection of acknowledged or unacknowledged packets, for example, based on the type of information being transmitted. In some embodiments, the merchant device 29 and payment reader 22 may combine acknowledgement packets and unacknowledged packets to be transmitted over a single messaging path during a single connection event, as described herein.

In view of the structures and devices described supra, methods that can be implemented in accordance with the disclosed subject matter will be better appreciated with reference to the flowcharts of FIGS. 5-7. While, for purposes of simplicity of explanation, the methods are shown and described as a series of steps, it is to be understood and appreciated that such illustrations or corresponding descriptions are not limited by the order of the steps, as some steps may occur in different orders and/or concurrently with other steps from what is depicted and described herein. Any non-sequential, or branched, flow illustrated via a flowchart should be understood to indicate that various other branches, flow paths, and orders of the steps, can be implemented which achieve the same or a similar result. Moreover, not all illustrated steps may be required to implement the methods described hereinafter.

FIG. 5 depicts an exemplary block diagram of establishing, maintaining, and modifying exclusive bonding of a wireless communication device such as payment reader 22. Although exclusive bonding may be managed in any suitable manner, in an exemplary embodiment payment reader 22 may include states that describe the current pairing/bonding state of the payment reader 22 and available options for moving to another state of the state diagram. It will be understood that while particular states and transitions between states may be depicted in FIG. 5, other suitable states may be included with the states of FIG. 5 and that different transitions between states may be available.

At block 502, payment reader 22 may be in an unpaired state, in which it is not/paired bonded with any merchant device 29. In one embodiment, the processing unit 120 of payment reader 22 may execute wireless instructions 128 to determine whether to transition from block 502. Although payment reader 22 may transition from block 502 in any suitable manner (e.g., periodically, in response to an advertising message received from a merchant device, etc.), in an exemplary embodiment payment reader 22 may transition to block 504 in response to a user input from user interface 112. In an exemplary embodiment of a user interface that is a button, the payment reader may transition from block 502 to block 504 in response to a particular button push such as a holding and releasing the button for a more than a threshold time or entering a particular sequence of button pushes.

At block 504, payment reader 22 may be in a pairing state, in which it is not/paired bonded with any merchant device 29 but is advertising that it wishes to pair with a merchant device 29. While in the pairing state, the processing unit 120 of payment reader 22 may execute wireless instructions 128 to cause wireless interface 108 to broadcast advertising packets. In some embodiments, the advertising packets may include identifying information that allows a receiving merchant device 29 to distinguish the payment reader 22 from other BLE devices (e.g., in identifier unique to payment readers, an identifier for the particular payment reader, or an identifier that may be compared to a white list) and to identify the particular payment reader 22 (e.g., a payment reader name that may be displayed at a user interface of merchant device 29). In an embodiment, the payment reader 22 may continue to transmit the advertising packet at intervals for up to a threshold time period (e.g., a timeout threshold), and if the threshold is exceeded the payment reader may transition back to the unpaired state of block 502. Merchant devices 29 may be monitoring for advertising packets from payment readers. In response to received advertising packets (and in some embodiments, a user selection at user interface 210 of merchant device 29), a merchant device may send a connection request to payment reader 22. In response to the connection request, payment reader 22 may pair and connect with merchant device 29 and transition to state 506.

At block 506 payment reader 22 may be in a connected state, in which it is bonded with a merchant device 29. Processing unit 120 of payment reader 22 may execute wireless instructions 128 to communicate with merchant device via wireless interface 108 of payment reader 22 and first wireless interface 212 of merchant device 29. As described herein, the payment reader 22 and merchant device 29 may communicate using BLE to engage in payment transactions and perform other functions (e.g., configure a payment reader, provide firmware updates, and configure the BLE connection). Under certain conditions (e.g., expiration of a threshold time since the last communication between the payment reader 22 and merchant device 29), the payment reader 22 and merchant device 29 may break their connection while remaining bonded, transitioning to state 508.

At block 508, payment reader 22 may remain in a bonded state with the merchant device 29 but may not presently be connected with the merchant device 29. In this state, processing unit 120 of payment reader 22 may execute wireless instructions 128 to transmit its advertising packets via wireless interface 108. In state 508, the payment reader may not be permitted to bond with other merchant devices 29, but may transition to other states based on a variety of user inputs or communications with merchant device 29. In an embodiment, the bonded merchant device 29 may send a message to reestablish the connection, and payment reader 22 may transition to state 506. Payment reader 22 may also receive user inputs (e.g., at a button of payment reader 22) that may cause the payment reader 22 to transition to different states. For example, user inputs may be received at user interface 112 of payment reader 22 (e.g., holding and releasing a button for a threshold time period or a particular pattern of button pushes) to transition to either state 502 or state 510. In one embodiment, a transition to state 502 (e.g., in response to an extended button push) may cause payment reader 22 to unpair from the bonded payment reader and return to the unpaired stated. A transition to state 510 (e.g., in response to a shorter button push) may cause the payment reader to enter a state where payment reader transits the advertising message and is permitted to pair with merchant devices 29 other than the bonded merchant device 29.

At block 510, payment reader 22 may be in a re-pairing state, in which it is bonded with a merchant device 29 and is advertising that it is able to pair with a different merchant device 29. While in the re-pairing state, the processing unit 120 of payment reader 22 may execute wireless instructions 128 to cause wireless interface 108 to broadcast advertising packets. In some embodiments, the advertising packets may include identifying information that allows a receiving merchant device 29 to distinguish the payment reader 22 from other BLE devices (e.g., in identifier unique to payment readers, an identifier unique to the payment reader, or an identifier that may be compared to a white list) and to identify the particular payment reader 22 (e.g., a payment reader name that may be displayed at a user interface of merchant device 29). In an embodiment, the payment reader 22 may continue to transmit the advertising packet at intervals for up to a threshold time period (e.g., a timeout threshold), and if the threshold is exceeded the payment reader may transition back to the disconnected state of block 508. Merchant devices 29 may be monitoring for advertising packets from payment readers. In response to received advertising packets (and in some embodiments, a user selection at user interface 210 of q merchant device 29), a different merchant device 29 than the bonded merchant device 29 may send a pairing request to payment reader 22. In response to the pairing request, payment reader 22 may unpair from the bonded merchant device 29 and connect with the new merchant device 29, and transition to the connected state 506.

FIG. 6 depicts a flow diagram illustrating steps for exchanging and modifying parameters of a wireless connection in accordance with some embodiments of the present disclosure. Although configuration parameters may be exchanged and modified in any suitable manner, in an embodiment a payment reader 22 may be a custom device that may have lower-level access to configuration parameters of a BLE connection (e.g., through communications between processing unit 120 of reader chip 100 and processing unit 130 of wireless interface 108) than an application running on a merchant device 29, which may be a smart phone, table, terminal, or other device with an operating system such iOS, Android, or Windows.

At step 602, a payment reader 22 and a merchant device 29 may establish a BLE connection. Although a BLE connection may be established in any suitable manner, in an embodiment the BLE connection may be established as described in FIG. 5 herein. Processing may then continue to step 604.

At step 604, a processing unit 204 of merchant device 29 executing point-of-sale application instructions 222 and associated first wireless interface instructions 224 may identify configuration parameters that are not available at merchant device 29. Although merchant device 29 may seek information about any suitable configuration parameters relating to any suitable aspects of the BLE connection with the payment reader 22, in an embodiment merchant device 29 may seek information about configuration parameters that are related to available data throughput, such as maximum transmission unit (MTU) size and connection interval length. MTU size may relate the maximum amount of data that may be transmitted in a single packet. In order to increase throughput, it may be desired to increase the MTU size. In addition, knowledge of the MTU size may facilitate the correct packaging of incoming data portions into packets for transmission via the BLE connection. Connection intervals may relate to how often the connected merchant device 29 and payment reader 22 have connection events during which packets may be exchanged. By reducing the connection interval, it may be possible to increase the effective transmission rate over the BLE connection. Once the merchant device 29 has identified the configuration parameters to request, it may transmit them to the payment reader 22 via the BLE connection. Processing may then continue to step 606.

At step 606, the payment reader 22 may receive the request for configuration parameters via the BLE connection, and processing unit 120 of reader chip 100 may execute wireless instruction 128 to communicate with processing unit 130 of wireless interface to access information about the requested configuration parameters. Once the requested information has been accessed, processing may continue to step 608.

At step 608, processing unit 120 of reader chip 100 may execute wireless instruction 128 to generate one or more BLE packets to be transmitted to the merchant device via wireless interface 108 of payment reader 22 and first wireless interface 212 of merchant device 29. The one or more BLE packets may include the request information (e.g., the requested configuration parameters). Once the configuration parameters have been transmitted, processing may continue to step 610.

At step 610, merchant device 29 may receive the configuration parameters from payment reader 22, and processing unit 202 of merchant device 29 may execute first wireless interface instructions 224 to determine whether the configuration parameters are within an acceptable or desired range. For example, it may be determined whether the MTU size is greater than or equal to a threshold MTU size, and whether the connection interval is less than or equal to a threshold connection interval length. If the configuration parameters are within the desired range processing may end. If the configuration parameters not within the desired range, processing may continue to step 612.

At step 612, a processing unit 204 of merchant device 29 executing point-of-sale application instructions 222 and associated first wireless interface instructions 224 may determine values for configuration parameters to send to payment reader 22, such that payment reader 22 may modify the values for those configuration parameters. As described herein, merchant device 29 may have a range for certain configuration parameters (e.g., for MTU size and connection interval). Values for the configuration parameters may be transmitted from first wireless interface 212 of merchant device 29 to wireless interface 108 of payment reader 22. Processing may continue of step 614.

At step 614, the payment reader 22 may receive the request for configuration parameters via the BLE connection, and processing unit 120 of reader chip 100 may execute wireless instruction 128 to communicate with processing unit 130 of wireless interface 108 to modify the values for the configuration parameters as requested in the message. Once the values of the configuration have been modified, processing may continue to step 616.

At step 616, processing unit 120 of reader chip 100 may execute wireless instruction 128 to generate a message indicating that the configuration parameters have been updated and transmit the message to the merchant device 29 via wireless interface 108 of payment reader 22 and first wireless interface 212 of merchant device 29. Once the update message has been transmitted, the processing of FIG. 6 may end.

FIG. 7 depicts a flow diagram illustrating exchanging messages having combined packet types in accordance with some embodiments of the present disclosure. As described herein, when two devices (e.g., a payment reader 22 and a merchant device 29) are connected, they may exchange data via characteristics. For each characteristic, packets may be sent in an unacknowledged mode (e.g., an unreliable packet) or an acknowledgement mode (e.g., a reliable packet). As described for FIG. 7, both unreliable and reliable packets may be transmitted during a single connection event through a single messaging path (e.g., a single characteristic). The steps of FIG. 7 may be performed between any suitable connected devices, and in one embodiment, both the transmitting device (first device) and the responding device (second device) may be either of a payment reader 22 or a merchant device 29. In an exemplary embodiment as described in FIG. 7, processing unit 102 of payment reader 22 may execute wireless instructions 128 to communicate with processing unit 130 of wireless interface 108, whether operating as a first device or second device. In a similar manner, in an exemplary embodiment processing unit 202 of merchant device 29 may execute first wireless interface instructions 224 to communicate with first wireless interface 212, whether operating as a first device or a second device.

At step 702, a first device may have data to transmit to a second device, and may parse the data into data portions to be packetized to be sent to the second device. Although data may be parsed in any suitable manner, in an embodiment it may be possible to send a certain number of unacknowledged data packets during a connection event, and each unacknowledged packet may accommodate a certain amount of data (e.g., based on a MTU size). Thus, the data may be parsed into data portions, with each data portion corresponding to the payload of an unacknowledged packet. Once the data has been parsed into data portions, processing may continue to step 704.

At step 704, the first device may generate payload packets based on the data portions. In an embodiment, each data portion may form a payload of a payload packet and a unique packet identifier may be included with each packet, as well as other suitable information (e.g., packet headers, error checking, etc.). Each payload packet may be generated as an unacknowledged packet. Once the payload packets are generated, processing may continue to step 706.

At step 706, the first device may generate an acknowledgement packet that is associated with the payload packets. Once the acknowledgement packet is generated, processing may continue to step 708.

At step 708, the first device may transmit the payload packets and the acknowledgement packet to the second device over the BLE connection. In an embodiment, the payload packets may be sent prior to the acknowledgement packet, such that the acknowledgement packet may be sent as the last packet during the connection event. As described herein, the packets may be sent over a single messaging path (e.g., a single characteristic). Once the payload packets and acknowledgement packet have been transmitted, processing may continue to step 710.

At step 710, the second device may receive packets from the first device over the BLE connection, demodulating the transmission, extracting the payload from each of the received packets, and determining whether each packet is an acknowledged packet or an unacknowledged packet. Once the received packets have been processed, processing may continue to step 712.

At step 712, the second device may determine the packet identifiers associated with each of the unacknowledged packets that were received over the single messaging path during a single connection event at step 710. The second device may then generate a received packet listing that includes each of the packet identifiers from the received payload (i.e., unacknowledged) packets. Processing may then continue to step 714.

At step 714, the second device may generate an acknowledgement response packet to be transmitted to the first device. Although the acknowledgement response packet may include any suitable information, in an embodiment the acknowledgement response packet may include information identifying the acknowledgement response packet as responsive to the acknowledgement packet, and the payload of the acknowledgement response packet may include the received packet listing from step 712. Once the acknowledgement response packet has been generated processing may continue to step 716.

At step 716, the second device may transmit the acknowledgement response packet to the first device (e.g., during the next connection event). Once the acknowledgment response packet has been transmitted to the first device, processing may continue to step 718.

At step 718, the first device may receive the acknowledgement response packet from the second device over the BLE connection, demodulating the transmission and extracting the payload from the acknowledgement response packet. Once the acknowledgment response packet has been processed, processing may continue to step 720.

At step 720, the first device may determine the received packet listing based on the payload data of the received acknowledgment response packet. Once the received packet listing has been determined, processing may continue to step 722.

At step 722, the first device may compare the received packet listing to the packet identifiers associated with the unacknowledged packets that were sent during the first connection event to determine if any failed packets need to be retransmitted. If all of the packets are represented in the received packet listing processing may return to step 702 to process a new set of data. If all of the packets were not represented in the received packet listing and a failed packet should be retransmitted, processing may continue to step 724.

At step 724, the first device may retransmit any failed packets that were not represented in the received packet listing, along with another acknowledgement packet, during the next connection event. In some embodiments, the first device may also transmit additional payload packets along with the retransmitted packets. Processing may then return to step 710.

The foregoing is merely illustrative of the principles of this disclosure and various modifications may be made by those skilled in the art without departing from the scope of this disclosure. The above described embodiments are presented for purposes of illustration and not of limitation. The present disclosure also can take many forms other than those explicitly described herein. Accordingly, it is emphasized that this disclosure is not limited to the explicitly disclosed methods, systems, and apparatuses, but is intended to include variations to and modifications thereof, which are within the spirit of the following claims.

As a further example, variations of apparatus or process parameters (e.g., dimensions, configurations, components, process step order, etc.) may be made to further optimize the provided structures, devices and methods, as shown and described herein. In any event, the structures and devices, as well as the associated methods, described herein have many applications. Therefore, the disclosed subject matter should not be limited to any single embodiment described herein, but rather should be construed in breadth and scope in accordance with the appended claims. 

What is claimed is:
 1. A method, comprising: sending, via a wireless communication interface of a first device, a first pairing request message, wherein the first pairing request message indicates that the first device is able to pair with other devices; receiving, via the wireless communication interface, a first pairing response message, wherein the first pairing response message provides information to pair the first device with a second device; establishing a first pairing between the first device and the second device based on the first pairing response message; establishing a first wireless bond between the first device and the second device based on the first pairing, wherein during the first wireless bond the first device and the second device establish a first plurality of connections with each other without exchanging additional pairing request messages or additional pairing response messages with each other; exchanging first information between the first device and the second device during the first wireless bond; sending, via the wireless communication interface, a second pairing request message, wherein the second pairing request message indicates that the first device is able to pair with additional devices; receiving, via the wireless communication interface, a second pairing response message, wherein the second pairing response message provides information to pair the first device and a third device; establishing a second pairing between the first device and the third device based on the second pairing response message; establishing a second wireless bond between the first device and the third device based on the second pairing, wherein during the second wireless bond the first device and the third device establish a second plurality of connections with each other without exchanging additional pairing request messages or additional pairing response messages with each other; removing the first wireless bond based on the establishment of the second wireless bond; and exchanging second information between the first device and the third device during the second wireless bond.
 2. The method of claim 1, wherein the wireless communication interface comprises a Bluetooth low energy (BLE) communication interface and wherein the first pairing, the first wireless bond, the second pairing, and the second wireless bond are established in accordance with a BLE protocol.
 3. The method of claim 1, wherein establishing a first wireless bond between the first device and the second device based on the first pairing comprises establishing one or more long-term bonding keys to encrypt information that is exchanged between the first device and the second device during the first wireless bond.
 4. The method of claim 3, wherein establishing the one or more long-term bonding keys comprises: establishing a secure connection between the first device and the second device during the first pairing; exchanging security information between the first device and the second device over the secure connection; and establishing the one or more bonding keys based on the exchanged security information.
 5. The method of claim 4, wherein the exchanged security information comprises the one or more bonding keys.
 6. The method of claim 4, wherein establishing the secure connection comprises establishing one or more pairing keys for the first device and the second device, wherein the pairing keys encrypt information that is exchanged between the first device and the second device during the first pairing.
 7. The method of claim 3, wherein removing the first wireless bond comprises no longer using the one or more long-term bonding keys to encrypt information between the first device and the second device.
 8. The method of claim 7, wherein no longer using the one or more long-term bonding keys to encrypt information between the first device and the second device comprises discarding the one or more long-term bonding keys.
 9. The method of claim 1, further comprising removing the first pairing, wherein one or more of the plurality of connections during the first wireless bond occur after the first pairing is removed.
 10. The method of claim 1, wherein exchanging the first information comprises exchanging the first information during a first connection of the first plurality of connections, further comprising: determining that an elapsed time since the first information was exchanged exceeds a threshold; disconnecting the first connection based on the determining; establishing a second connection of the first plurality of connections; and exchanging additional information during the second connection of the first plurality of connections.
 11. A wireless device, comprising: a wireless communication interface configured to transmit a plurality of pairing request messages and receive a plurality of pairing response messages, wherein each pairing request message indicates that the wireless device is able to pair with other wireless devices, and wherein each pairing response message provides information to pair the wireless device with one of the other wireless devices; a memory configured to store instructions; a processing unit configured to execute the instructions to: provide a first pairing request message of the plurality of pairing request messages to the wireless communication interface; receive a first pairing response message of the plurality of pairing response messages from the wireless communication interface, wherein the first pairing response message is associated with a first other device of the other wireless devices; establish a first pairing between the wireless device and the first other device based on the first pairing response message; establish a first wireless bond between the wireless device and the first other device based on the first pairing, wherein during the first wireless bond the wireless device and the first other device establish a first plurality of connections with each other without exchanging additional pairing request messages or additional pairing response messages with each other; exchange first information between the wireless device and the first other device via the wireless communication interface during the first wireless bond; provide a second pairing request message of the plurality of pairing request messages to the wireless communication interface; receive a second pairing response message of the plurality of pairing response messages from wireless communication interface, wherein the second pairing response message is associated with a second other device of the other wireless devices; establish a second pairing between the wireless device and the second other device based on the second pairing response message; establish a second wireless bond between the wireless device and the second other device based on the second pairing, wherein during the second wireless bond the wireless device and the second other device establish a second plurality of connections with each other without exchanging additional pairing request messages or additional pairing response messages with each other; remove the first wireless bond based on the establishment of the second wireless bond; and exchange second information between the wireless device and the second other device via the wireless communication interface based on the second wireless bond.
 12. The wireless device of claim 11, wherein the wireless communication interface comprises a Bluetooth low energy (BLE) communication interface and wherein the first pairing, the first wireless bond, the second pairing, and the second wireless bond are established in accordance with a BLE protocol.
 13. The wireless device of claim 11, wherein the processing unit executes the instructions to establish one or more long-term bonding keys to encrypt information that is exchanged between the wireless device and the first other device during the first wireless bond.
 14. The wireless device of claim 13, wherein the processing unit executes the instructions to: establish a secure connection between the wireless device and the first other device during the first pairing; exchange security information between the wireless device and the first other device over the secure connection; and establish the one or more long-term bonding keys based on the exchanged security information.
 15. The wireless device of claim 14, wherein the exchanged security information comprises the one or more long-term bonding keys.
 16. The wireless device of claim 14, wherein the processing unit executes the instructions to establish one or more pairing keys for the first device and the second device, wherein the pairing keys encrypt information that is exchanged between the first device and the second device during the first pairing.
 17. The wireless device of claim 13, wherein the one or more long-term bonding keys are no longer used to encrypt information between the wireless device and the first other device after the first wireless bond is removed.
 18. The wireless device of claim 17, wherein the processing unit executes the instructions to discard the one or more long-term bonding keys after the first wireless bond is removed.
 19. The wireless device of claim 11, wherein the processing unit executes the instructions to remove the first pairing, wherein one or more of the plurality of connections during the first wireless bond occur after the first pairing is removed.
 20. The wireless device of claim 11, wherein the processing unit executes the instructions to: exchange the first information during a first connection of the first plurality of connections; determine that an elapsed time since the first information was exchanged exceeds a threshold; disconnect the first connection based on the determination; establish a second connection of the first plurality of connections; and exchange additional information during the second connection of the first plurality of connections.
 21. A non-transitory computer-readable storage medium of a first device comprising instructions stored therein, which when executed by one or more processors of the first device, cause the one or more processors to perform operations comprising: providing, to a wireless communication interface of the first device, a first pairing request message, wherein the first pairing request message indicates that the first device is able to pair with other devices; receiving, via the wireless communication interface, a first pairing response message, wherein the first pairing response message provides information to pair the first device with a second device; establishing a first pairing between the first device and the second device based on the first pairing response message; establishing a first wireless bond between the first device and the second device based on the first pairing, wherein during the first wireless bond the first device and the second device establish a first plurality of connections with each other without exchanging additional pairing request messages or additional pairing response messages with each other; exchanging first information between the first device and the second device during the first wireless bond; sending, via the wireless communication interface, a second pairing request message, wherein the second pairing request message indicates that the first device is able to pair with additional devices; receiving, via the wireless communication interface, a second pairing response message, wherein the second pairing response message provides information to pair the first device and a third device; establishing a second pairing between the first device and the third device based on the second pairing response message; establishing a second wireless bond between the first device and the third device based on the second pairing, wherein during the second wireless bond the first device and the third device establish a second plurality of connections with each other without exchanging additional pairing request messages or additional pairing response messages with each other; removing the first wireless bond based on the establishment of the second wireless bond; and exchanging second information between the first device and the third device during the second wireless bond.
 22. The non-transitory computer-readable storage medium of claim 21, wherein the wireless communication interface comprises a Bluetooth low energy (BLE) communication interface and wherein the first pairing, the first wireless bond, the second pairing, and the second wireless bond are established in accordance with a BLE protocol.
 23. The non-transitory computer-readable storage medium of claim 21, wherein establishing a first wireless bond between the first device and the second device based on the first pairing comprises establishing one or more long-term bonding keys to encrypt information that is exchanged between the first device and the second device during the first wireless bond.
 24. The non-transitory computer-readable storage medium of claim 23, wherein establishing the one or more long-term bonding keys comprises: establishing a secure connection between the first device and the second device during the first pairing; exchanging security information between the first device and the second device over the secure connection; and establishing the one or more long-term bonding keys based on the exchanged security information.
 25. The non-transitory computer-readable storage medium of claim 24, wherein the exchanged security information comprises the one or more long-term bonding keys.
 26. The non-transitory computer-readable storage medium of claim 24, wherein establishing the secure connection comprises establishing one or more pairing keys for the first device and the second device, wherein the pairing keys encrypt information that is exchanged between the first device and the second device during the first pairing.
 27. The non-transitory computer-readable storage medium of claim 23, wherein removing the first wireless bond comprises no longer using the one or more long-term bonding keys to encrypt information between the first device and the second device.
 28. The non-transitory computer-readable storage medium of claim 27, wherein no longer using the one or more long-term bonding keys to encrypt information between the first device and the second device comprises discarding the one or more long-term bonding keys.
 29. The non-transitory computer-readable storage medium of claim 21, wherein the instructions further cause the one or more processors to perform operations comprising removing the first pairing, wherein one or more of the plurality of connections during the first wireless bond occur after the first pairing is removed.
 30. The non-transitory computer-readable storage medium of claim 21, wherein exchanging the first information comprises: exchanging the first information during a first connection of the first plurality of connections; determining that an elapsed time since the first information was exchanged exceeds a threshold; disconnecting the first connection based on the determining; establishing a second connection of the first plurality of connections; and exchanging additional information during the second connection of the first plurality of connections. 